package com.example.service;


import com.example.dao.ExaminationMapper;
import com.example.dao.QueueMapper;
import com.example.domain.Examination;
import com.example.domain.Queue;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class QueueService {

    @Autowired
    private QueueMapper queueMapper;

    public int upFinishNumber(int doctor_id){
        return queueMapper.upFinishNumber(doctor_id);
    }

    public List<Queue> listAll(int doctor_id) {
        return queueMapper.listAll(doctor_id);
    }

}
